//package com.sxkf.template.controller;
//
//import com.baomidou.mybatisplus.core.metadata.IPage;
//import com.sxkf.core.api.vo.R;
//import com.sxkf.template.entity.FollowStore;
//import com.sxkf.template.entity.Store;
//import com.sxkf.template.service.FollowStoreService;
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiImplicitParam;
//import io.swagger.annotations.ApiImplicitParams;
//import io.swagger.annotations.ApiOperation;
//import org.springframework.web.bind.annotation.*;
//
//import javax.annotation.Resource;
//
///**
//* (t_follow_store)表控制层
//*
//* @author zgc
//*/
//@Api(tags="关注商铺模块")
//@RestController
//@RequestMapping("/followStore")
//public class FollowStoreController {
///**
//* 服务对象
//*/
//    @Resource
//    private FollowStoreService followStoreService;
//
//    @ApiOperation("创建关注店铺信息")
//    @PostMapping("/createFollowStore")
//    public R<Boolean> createFollowStore(@RequestBody FollowStore followStore){
//        return R.success(followStoreService.createFollowStore(followStore));
//    }
//
//    @ApiOperation("取消关注店铺信息")
//    @PostMapping("/cancelFollowStore")
//    public R<Boolean> cancelFollowStore(@RequestBody FollowStore followStore) {
//        return R.success(followStoreService.cancelFollowStore(followStore));
//    }
//
//    @ApiOperation("查询关注店铺信息")
//    @GetMapping("/getFollowStoreList")
//    @ApiImplicitParams(value = {
//            @ApiImplicitParam(name = "orderType", value = "1=综合，2=最新，3=最早")
//    })
//    public R<IPage<Store>> getFollowStoreList(@RequestParam String userId, @RequestParam String storeName, @RequestParam String orderType,
//                                              @RequestParam Integer pageNo, @RequestParam Integer pageSize){
//        return R.success(followStoreService.getFollowStoreList(userId, storeName, orderType, pageNo, pageSize));
//    }
//
//    @ApiImplicitParams(value = {
//            @ApiImplicitParam(name = "orderType", value = "1=综合，2=最新，3=最早")
//    })
//    @ApiOperation("模糊查询关注店铺")
//    @GetMapping("/likeQueryStore")
//    public R<IPage<Store>> likeQueryStore(@RequestParam String userId,
//                                        @RequestParam String storeName,
//                                        @RequestParam String orderType,
//                                        @RequestParam Integer pageNo,
//                                        @RequestParam Integer pageSize) {
//        return R.success(followStoreService.likeQueryStore(userId, storeName, orderType, pageNo, pageSize));
//    }
//}
